home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.4 KB | 72 lines | [TEXT/MPS ] |
- //
- // File: SLRanSin.idl
- //
- // Contains: Interface for abstract random access sink class
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
-
- #ifndef SLRANSIN_IDL
- #define SLRANSIN_IDL
-
- #ifndef SLASINKS_IDL
- #include "SLASinks.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface FW_ORandomAccessSink;
-
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface FW_OSink;
-
-
- //========================================================================================
- // FW_ORandomAccessSink
- //========================================================================================
-
- interface FW_ORandomAccessSink : FW_OSink
- {
- long GetLength();
- void SetLength(in long length);
- long GetPosition();
- void SetPosition(in long position);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_ORandomAccessSink__";
-
- override:
- GetReadableBytes;
-
- releaseorder:
- GetLength,
- SetLength,
- GetPosition,
- SetPosition;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "";
-
- passthru C_xih =
- "";
-
- #ifdef __PRIVATE__
- #endif
- };
- #endif
- };
-
-
- #endif
-